using System.Security;
using System.Security.Permissions;
namespace Net35.Xrm.Sdk.Client
{
	[SecuritySafeCritical]
	[SecurityPermission(SecurityAction.Demand, Unrestricted = true)]
	public sealed class LiveIdPolicyConfiguration : OnlinePolicyConfiguration
	{
		internal LiveIdPolicyConfiguration(AuthenticationPolicy xrmPolicy) : base(xrmPolicy)
		{
			LiveIdentityProviderTrustConfiguration liveIdentityProviderTrustConfiguration = new LiveIdentityProviderTrustConfiguration(xrmPolicy);
			base.OnlineProviders.Add(liveIdentityProviderTrustConfiguration.Endpoint.GetServiceRoot(), liveIdentityProviderTrustConfiguration);
		}
	}
}
